package org.lyg.dao;

import org.lyg.domain.Comment;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ICommentMapper {
    List<Comment> list();

    List<Comment> getCommentByBlogId(int id);

    List<Comment> getCommentByUserId(int id);

    int save(Comment comment);
}
